<!--顶部导航开始-->
		<div id="topnav">
			<div class="top_left">
				<ul>
					<li><a href="">华为官网</a>|</li>
					<li><a href="">华为荣耀</a>|</li>
					<li><a href="">EMUI</a>|</li>
					<li><a href="">应用市场</a>|</li>
					<li><a href="">云服务</a>|</li>
					<li><a href="">开发者联盟</a>|</li>
					<li><a href="">花粉俱乐部</a></li>
				</ul>
				
			</div>
			<div class="top_right">
				<ul>
					<empty value="$hd.session.uname">
					<li><a href="{|U:'Member/login'}"><span>登陆</span> </a></li>					
					<li><a href="{|U:'Member/regist'}"><span>注册</span></a>|</li>
					<noempty/>
					<li><a href="{|U:'Personal/index'}"><span>{$hd.session.uname}</span></a>|<a href="{|U:'Member/out'}"><span>退出</span></a></li>
					</empty>
					<li><a href="">v码（优购码）</a>|</li>
					<li><a href="">手机版</a>|</li>
					<li><a href="">网站导航</a></li>
				</ul>
				
			</div>
		</div>
		<!--顶部导航结束-->
		<!--logo开始-->
		<div id="header">
			<div class="logo">
				<a href="{|U:'Index/index'}"><img src="__ROOT__/Static/Index/images/Logo.png"/></a>
			</div>
			<div class="search">
				<form action="" method="post">				
					<input type="text" name="" class="box" /><input class="button" type="submit" value="搜索"/>
				</form>
				<span>热门搜索：
					<a href="">荣耀7</a>
					<a href="">麦芒4</a>
					<a href="">华为p8</a>
					<a href="">指纹识别</a>
					<a href="">指纹识别</a>
					<a href="">指纹识别</a>
				</span>
			</div>
			<div class="shop">
				<div class="mall">
				    <a class="a" href="">我的商城</a>	
				</div><span>|</span>
				<div class="cart">
					<a class="a" href="">我的购物车</a>
					<div class="cart_in">
						<if value="!$_SESSION['cart']['goods']">
						<p style="line-height: 110px;">您的购物车是空的赶紧选购吧</p>
						<else/>
						<div class="thing">
							<table class="cart-thing"  width="100%" cellspacing="0" cellpadding="0" style="margin: 0 auto; ">
								<foreach from="$_SESSION['cart']['goods']" value="$v" key="$k">
								<tr >
									<td style="border-bottom: 1px solid #FAFAFA;"><img width="78" height="78" src="__ROOT__/{$v.pic}"/></td>
									<td style="border-bottom: 1px solid #FAFAFA;" width="60%"><p><a href="">{$v.name}</a></p><h1>¥ {$v.price} <i>×{$v.num}</i>  </h1></td><td style="text-align: center; width: 20%; border-bottom: 1px solid #FAFAFA;"><a href="{|U:'Cart/del',array('id'=>$k)}" class="btn_x" >删除</a></td>
								</tr>
								</foreach>
							</table>
							<div class="payall">
								<h2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共<s>{$hd.session.cart.total_rows}</s>件商品，金额合计<s>￥{$hd.session.cart.total}</s></h2>
								<div class="money">
									<a style="color: #FFFFFF;" href="{|U:'Cart/index'}">去结算</a>
								</div>
							</div>
						</div>
						</if>
						
					</div>
				</div>
			</div>
			<div class="code">
				<a href=""><img width="75" src="__ROOT__/Static/Index/images/code.jpg"/></a>
				<span id="">
					微信扫码关注我们
				</span>
			</div>
		</div>
		
		<div class="clean"></div>
		<!--logo结束-->
		<!--nav开始-->
		<div id="nav">
			<div class="all">
				<a href="">全部商品</a>
				<div class="leftsidebar">
					<foreach from="$cate" value="$v" key="$k">
					<div class="category">
						<h3><a style="font-size: 16px;" href="{|U:'List/index',array('cid'=>$v['cid'],'pid'=>$v['pid'])}">{$v.cname}</a></h3>
						<foreach from="$v['son']" value="$vv" key="$kk">
						<a href="{|U:'List/index',array('cid'=>$vv['cid'],'pid'=>$vv['pid'])}">{$vv.cname}</a>
						</foreach>
						<div class="subtitle">
							<foreach from="$v['sons']" value="$vv" key="$kk">
							<h4><a href="{|U:'List/index',array('cid'=>$vv['cid'],'pid'=>$vv['pid'])}">{$vv.cname}</a></h4>
							</foreach>
						</div>
					</div>
					</foreach>
					
				</div>
			</div>
			<ul>
				<li class="bg"><a href="{|U:'Index/index'}">首页</a></li>
				<foreach from="$nav" value="$v" key="$k">
				<li><a href="{|U:'List/index',array('cid'=>$v['cid'],'pid'=>$v['pid'])}">{$v.cname}</a></li>
				</foreach>
			</ul>
		</div>
		<!--nav结束-->
